/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package extension.phom.handler;

import com.smartfoxserver.v2.entities.User;
import com.smartfoxserver.v2.entities.data.ISFSObject;
import com.smartfoxserver.v2.extensions.BaseClientRequestHandler;
import extension.room.phom.PhomExtension;
import extension.room.phom.PhomResponse;

/**
 *
 * @author daz
 */
public class FinishDealCardHandler extends BaseClientRequestHandler {

    @Override
    public void handleClientRequest(User user, ISFSObject params) {
        PhomExtension phomExtension = (PhomExtension) getParentExtension();
        PhomResponse phomResponse = phomExtension.getResponse();
        phomResponse.sendFirstTurn(phomExtension.getGame().getGameTurn(), user);
    }
}
